package com.yuncheng.spcyApi.service.impl;

import com.yuncheng.spcyApi.entity.SpcySqsxWjml;
import com.yuncheng.spcyApi.mapper.SpcySqsxWjmlMapper;
import com.yuncheng.spcyApi.service.ISpcySqsxWjmlService;
import org.springframework.stereotype.Service;

import com.yuncheng.common.base.service.impl.BaseServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: 审评查验-文件目录
 * @Author: csx
 * @Date: 2023-03-03
 * @Version: V1.0
 */
@Service
public class SpcySqsxWjmlServiceImpl extends BaseServiceImpl<SpcySqsxWjmlMapper, SpcySqsxWjml> implements ISpcySqsxWjmlService {

    @Resource
    private SpcySqsxWjmlMapper spcySqsxWjmlMapper;

    @Override
    public List<String> selectFlxmcListByCodeAndFwjlx1(String code, String fwjlx1) {
        return spcySqsxWjmlMapper.selectFlxmcListByCodeAndFwjlx1(code, fwjlx1, null);
    }

    @Override
    public List<String> selectFlxmcListByCodeAndFwjlx1(String code, String fwjlx1, String fwjlx2) {
        return spcySqsxWjmlMapper.selectFlxmcListByCodeAndFwjlx1(code, fwjlx1, fwjlx2);
    }
}
